<nav class="main-header navbar navbar-expand navbar-white navbar-light">
    <ul class="navbar-nav">
        <li class="nav-item">
            <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
        </li>
    </ul>

    <ul class="navbar-nav ml-auto">
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <li class="dropdown nav-item user user-menu">
                    <@loginUser>
                    <a href="javascript:void(0)" class="nav-link dropdown-toggle" data-toggle="dropdown">
                        <img src="${data.avatar!'/img/user3-160x160.jpg'}" class="user-image">
                        <span class="hidden-xs">您好，${data.loginAccount!}</span>
                    </a>
                    </@loginUser>
                    <div class="dropdown-menu">
                        <div class="dropdown-divider"></div>
                        <a href="#" class="dropdown-item">
                            <i class="fas fa-users mr-2"></i> 我的资料
                        </a>
                        <div class="dropdown-divider"></div>
                        <a href="/ucenter/index" target="_blank" class="dropdown-item">
                            <i class="fas fa-file mr-2"></i> 个人中心
                        </a>
                        <div class="dropdown-divider"></div>
                        <a href="/admin/logout" class="dropdown-item">
                            <i class="fas fa-sign-out-alt"></i> 退出
                        </a>
                        <div class="dropdown-divider"></div>
                    </div>
                </li>

                <li class="nav-item">
                    <a class="nav-link" data-widget="fullscreen" href="#" role="button">
                        <i class="fas fa-expand-arrows-alt"></i>
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
                        <i class="fas fa-th-large"></i>
                    </a>
                </li>
            </ul>
        </div>
    </ul>
</nav>